package com.topscore.uke.mvp.contractors;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.topscore.uke.entities.ConsumptionItemBean;
import com.topscore.uke.entities.MemberConsumpInfo;
import com.topscore.uke.mvp.model.BaseHttpListener;
import com.topscore.uke.mvp.views.BaseView;
import com.topscore.uke.network.BaseResponse;
import com.topscore.uke.network.request.MemberConsumpRequest;
import com.topscore.uke.network.retrofit.ApiService;
import com.topscore.uke.network.retrofit.NetClient;
import com.topscore.uke.network.retrofit.NetClientPostJson;

public interface GetMemberConsumpContractor {
    interface Model {
        ApiService mService = NetClientPostJson.getInstance().net().create(ApiService.class);

        void getData(MemberConsumpRequest request);

        interface CallBack extends BaseHttpListener {
            void onSuccess(BaseResponse<MemberConsumpInfo> response);
        }
    }

    interface View extends BaseView {
        BaseQuickAdapter getRecyclerAdapter();
    }

    interface Presenter {
        void getMemberConsump();
        void loadNextPage();
    }
}
